package com.net.oil.order.bean;

import com.net.oil.car.bean.CarBean;

import java.util.List;

/**
 * 作者：lch
 * 时间：2018/6/7 0007:下午 22:01
 * 邮箱：245850413@qq.com
 * 说明：
 */

public class MaintainDetailBean {

    /**
     * availableMileage : 0
     * bid : 0
     * brakeProductId : 0
     * brakeProductName : string
     * business : {"address":"string","businessDesc":"string","businessPromise":"string","certificate":["string"],"certificateStr":"string","city":"string","county":"string","delStatus":0,"distance":0,"id":0,"images":["string"],"imagesStr":"string","lat":0,"lng":0,"logo":"string","name":"string","ownerPhone":"string","phone":"string","province":"string","serviceEndTime":"string","serviceStartTime":"string","status":0}
     * businessName : string
     * gearboxProductId : 0
     * gearboxProductName : string
     * id : 0
     * oilProductId : 0
     * oilProductName : string
     * t : 0
     * uid : string
     * userCarId : 0
     */

    private int availableMileage;
    private int mileage;
    private int bid;
    private Integer brakeProductId;
    private String brakeProductName;
    private String brakeProductImage;
    private BusinessBean business;
    private String businessName;
    private Integer gearboxProductId;
    private String gearboxProductName;
    private String gearboxProductImage;
    private int id;
    private Integer oilProductId;
    private String oilProductName;
    private String oilProductImage;
    private long t;
    private String uid;
    private int userCarId;
    private List<CarBean.UseSubsidiaryProductBean> useSubsidiaryProductItemList;
    private OilAppliment oilAppliment;
    private int commentStatus;
    private OilBusinessMaintainUserComment oilBusinessMaintainUserComment;

    public int getAvailableMileage() {
        return availableMileage;
    }

    public void setAvailableMileage(int availableMileage) {
        this.availableMileage = availableMileage;
    }

    public int getMileage() {
        return mileage;
    }

    public void setMileage(int mileage) {
        this.mileage = mileage;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public Integer getBrakeProductId() {
        return brakeProductId;
    }

    public void setBrakeProductId(Integer brakeProductId) {
        this.brakeProductId = brakeProductId;
    }

    public String getBrakeProductName() {
        return brakeProductName;
    }

    public void setBrakeProductName(String brakeProductName) {
        this.brakeProductName = brakeProductName;
    }

    public BusinessBean getBusiness() {
        return business;
    }

    public void setBusiness(BusinessBean business) {
        this.business = business;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public Integer getGearboxProductId() {
        return gearboxProductId;
    }

    public void setGearboxProductId(Integer gearboxProductId) {
        this.gearboxProductId = gearboxProductId;
    }

    public String getGearboxProductName() {
        return gearboxProductName;
    }

    public void setGearboxProductName(String gearboxProductName) {
        this.gearboxProductName = gearboxProductName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getOilProductId() {
        return oilProductId;
    }

    public void setOilProductId(Integer oilProductId) {
        this.oilProductId = oilProductId;
    }

    public String getOilProductName() {
        return oilProductName;
    }

    public void setOilProductName(String oilProductName) {
        this.oilProductName = oilProductName;
    }

    public long getT() {
        return t;
    }

    public void setT(long t) {
        this.t = t;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public int getUserCarId() {
        return userCarId;
    }

    public void setUserCarId(int userCarId) {
        this.userCarId = userCarId;
    }

    public String getBrakeProductImage() {
        return brakeProductImage;
    }

    public void setBrakeProductImage(String brakeProductImage) {
        this.brakeProductImage = brakeProductImage;
    }

    public String getGearboxProductImage() {
        return gearboxProductImage;
    }

    public void setGearboxProductImage(String gearboxProductImage) {
        this.gearboxProductImage = gearboxProductImage;
    }

    public String getOilProductImage() {
        return oilProductImage;
    }

    public void setOilProductImage(String oilProductImage) {
        this.oilProductImage = oilProductImage;
    }

    public List<CarBean.UseSubsidiaryProductBean> getUseSubsidiaryProductItemList() {
        return useSubsidiaryProductItemList;
    }

    public void setUseSubsidiaryProductItemList(List<CarBean.UseSubsidiaryProductBean> useSubsidiaryProductItemList) {
        this.useSubsidiaryProductItemList = useSubsidiaryProductItemList;
    }

    public OilAppliment getOilAppliment() {
        return oilAppliment;
    }

    public void setOilAppliment(OilAppliment oilAppliment) {
        this.oilAppliment = oilAppliment;
    }

    public int getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(int commentStatus) {
        this.commentStatus = commentStatus;
    }

    public OilBusinessMaintainUserComment getOilBusinessMaintainUserComment() {
        return oilBusinessMaintainUserComment;
    }

    public void setOilBusinessMaintainUserComment(OilBusinessMaintainUserComment oilBusinessMaintainUserComment) {
        this.oilBusinessMaintainUserComment = oilBusinessMaintainUserComment;
    }

    public static class BusinessBean {
        /**
         * address : string
         * businessDesc : string
         * businessPromise : string
         * certificate : ["string"]
         * certificateStr : string
         * city : string
         * county : string
         * delStatus : 0
         * distance : 0
         * id : 0
         * images : ["string"]
         * imagesStr : string
         * lat : 0
         * lng : 0
         * logo : string
         * name : string
         * ownerPhone : string
         * phone : string
         * province : string
         * serviceEndTime : string
         * serviceStartTime : string
         * status : 0
         */

        private String address;
        private String businessDesc;
        private String businessPromise;
        private String certificateStr;
        private String city;
        private String county;
        private int delStatus;
        private int distance;
        private int id;
        private String imagesStr;
        private double lat;
        private double lng;
        private String logo;
        private String name;
        private String ownerPhone;
        private String phone;
        private String province;
        private String serviceEndTime;
        private String serviceStartTime;
        private int status;
        private List<String> certificate;
        private List<String> images;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getBusinessDesc() {
            return businessDesc;
        }

        public void setBusinessDesc(String businessDesc) {
            this.businessDesc = businessDesc;
        }

        public String getBusinessPromise() {
            return businessPromise;
        }

        public void setBusinessPromise(String businessPromise) {
            this.businessPromise = businessPromise;
        }

        public String getCertificateStr() {
            return certificateStr;
        }

        public void setCertificateStr(String certificateStr) {
            this.certificateStr = certificateStr;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCounty() {
            return county;
        }

        public void setCounty(String county) {
            this.county = county;
        }

        public int getDelStatus() {
            return delStatus;
        }

        public void setDelStatus(int delStatus) {
            this.delStatus = delStatus;
        }

        public int getDistance() {
            return distance;
        }

        public void setDistance(int distance) {
            this.distance = distance;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImagesStr() {
            return imagesStr;
        }

        public void setImagesStr(String imagesStr) {
            this.imagesStr = imagesStr;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public double getLng() {
            return lng;
        }

        public void setLng(double lng) {
            this.lng = lng;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getOwnerPhone() {
            return ownerPhone;
        }

        public void setOwnerPhone(String ownerPhone) {
            this.ownerPhone = ownerPhone;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getServiceEndTime() {
            return serviceEndTime;
        }

        public void setServiceEndTime(String serviceEndTime) {
            this.serviceEndTime = serviceEndTime;
        }

        public String getServiceStartTime() {
            return serviceStartTime;
        }

        public void setServiceStartTime(String serviceStartTime) {
            this.serviceStartTime = serviceStartTime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public List<String> getCertificate() {
            return certificate;
        }

        public void setCertificate(List<String> certificate) {
            this.certificate = certificate;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }

    public static class UseSubsidiaryProductBean{
        private String title;
        private int productId;
        private int count;
        private OilProductBean oilProductBean;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public OilProductBean getOilProductBean() {
            return oilProductBean;
        }

        public void setOilProductBean(OilProductBean oilProductBean) {
            this.oilProductBean = oilProductBean;
        }
    }

    public static class OilProductBean {

        private int id;
        private int catId;
        private String name;
        private Object price;
        private String defined;
        private String content;
        private Object specification;
        private String image;
        private Object keywords;
        private Object description;
        private String addTime;
        private int sort;
        private int status;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getCatId() {
            return catId;
        }

        public void setCatId(int catId) {
            this.catId = catId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getPrice() {
            return price;
        }

        public void setPrice(Object price) {
            this.price = price;
        }

        public String getDefined() {
            return defined;
        }

        public void setDefined(String defined) {
            this.defined = defined;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Object getSpecification() {
            return specification;
        }

        public void setSpecification(Object specification) {
            this.specification = specification;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public Object getKeywords() {
            return keywords;
        }

        public void setKeywords(Object keywords) {
            this.keywords = keywords;
        }

        public Object getDescription() {
            return description;
        }

        public void setDescription(Object description) {
            this.description = description;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }

    public static class OilAppliment {
        /**
         * id : 36
         * actionId : 15
         * applyTime : 1528294912372
         * code : 173854
         * uid : 9268dcf43a56452b8853e2f88193686e
         * bid : 3
         * bUserId : e7a69c69993f48ec83b34a6336937094
         * businessName : null
         * phone : 13253332379
         * used : true
         * usedTime : 1528295297390
         * amount : 50
         * expireTime : 1530892800000
         * expireStatus : null
         * prizeId : null
         * business : null
         */

        private int id;
        private int actionId;
        private long applyTime;
        private String code;
        private String uid;
        private int bid;
        private String bUserId;
        private String businessName;
        private String phone;
        private boolean used;
        private long usedTime;
        private double amount;
        private long expireTime;
        private int expireStatus;
        private Object prizeId;
        private Object business;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getActionId() {
            return actionId;
        }

        public void setActionId(int actionId) {
            this.actionId = actionId;
        }

        public long getApplyTime() {
            return applyTime;
        }

        public void setApplyTime(long applyTime) {
            this.applyTime = applyTime;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public int getBid() {
            return bid;
        }

        public void setBid(int bid) {
            this.bid = bid;
        }

        public String getBUserId() {
            return bUserId;
        }

        public void setBUserId(String bUserId) {
            this.bUserId = bUserId;
        }

        public String getBusinessName() {
            return businessName;
        }

        public void setBusinessName(String businessName) {
            this.businessName = businessName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public boolean isUsed() {
            return used;
        }

        public void setUsed(boolean used) {
            this.used = used;
        }

        public long getUsedTime() {
            return usedTime;
        }

        public void setUsedTime(long usedTime) {
            this.usedTime = usedTime;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public long getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(long expireTime) {
            this.expireTime = expireTime;
        }

        public int getExpireStatus() {
            return expireStatus;
        }

        public void setExpireStatus(int expireStatus) {
            this.expireStatus = expireStatus;
        }

        public Object getPrizeId() {
            return prizeId;
        }

        public void setPrizeId(Object prizeId) {
            this.prizeId = prizeId;
        }

        public Object getBusiness() {
            return business;
        }

        public void setBusiness(Object business) {
            this.business = business;
        }
    }

    public static class OilBusinessMaintainUserComment{

        private long commentTime;
        private int score;
        private String commentDesc;

        public long getCommentTime() {
            return commentTime;
        }

        public void setCommentTime(long commentTime) {
            this.commentTime = commentTime;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public String getCommentDesc() {
            return commentDesc;
        }

        public void setCommentDesc(String commentDesc) {
            this.commentDesc = commentDesc;
        }
    }
}
